package com.simple.microservices.dao.dataobject;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import org.apache.ibatis.mapping.FetchType;

import java.io.Serializable;
import java.util.Date;

/**
 * @author 小懒虫
 * @date 2021/10/18
 */
@Data
@TableName("miss_member")
public class Member implements Serializable {
    // 主键ID
    @TableId(type = IdType.AUTO)
    private Long id;
    // 标题
    private String cellphone;
    //
    private String password;
    //
    private String icon;
    //
    @TableField(value = "source_from")
    private String sourceFrom;
    // 用户名
    private String username;
    // 创建时间
    @TableField(value = "create_date")
    private Date createDate;
    // 更新时间
    @TableField(value = "update_date")
    private Date updateDate;
    // 数据状态
    private Integer status ;
}